package test;

import java.io.FileReader;

public class FileReadetest {

	public static void main(String[] args) {
		FileReader reader=null;
		try {
			reader=new FileReader("resources/work.txt");
			char[] chars=new char[2014];
			reader.read(chars);
			String str=new String(chars);
			System.out.println(str);
			
		} catch (Exception e) {
			e.printStackTrace();
		}finally {
			try {
				reader.close();
			} catch (Exception e) {
				e.printStackTrace();
			}
		}

	}

}
